package arithmetic1.test1;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class A {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        List<Character> list=new ArrayList<>();
        boolean flag=true;
        while (flag){
            String str=scanner.nextLine();
            if(str.equals(" ")){
                break;
            }
            list.add(str.charAt(0));
        }
        for(Character c:list){
            if(isContain(c)){
                System.out.println("Vowel");
            }else {
                System.out.println("Consonant");
            }
        }
    }

    public static boolean isContain(char c){
        List<Character> list= new ArrayList<>();
        list.add('a');
        list.add('A');
        list.add('e');
        list.add('E');
        list.add('i');
        list.add('I');
        list.add('o');
        list.add('O');
        list.add('u');
        list.add('U');
        if (list.contains(c)){
            return true;
        }
       return false;
    }
}
